#ifndef CANVAS_H_INCLUDED
#define CANVAS_H_INCLUDED
#include <gtkmm.h>

class Canvas : public Gtk::DrawingArea
{
    public:
    Canvas();
    virtual ~Canvas();

    protected:
    bool Canvas::on_motion_notify_event(GdkEventMotion* event);
    bool Canvas::on_key_press_event(GdkEventKey* event);
    bool Canvas::on_expose_event(GdkEventExpose* event);
    void Canvas::blit(GdkRectangle area);
    Glib::RefPtr<Gdk::Pixmap> mySurface;
    Cairo::RefPtr<Cairo::Context> myContext;
};

#endif // CANVAS_H_INCLUDED
